//
//  StatementViewController.m
//  WatchBall
//
//  Created by lanou3g on 15/6/9.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "StatementViewController.h"
#import "RESideMenu.h"
@interface StatementViewController ()

@end

@implementation StatementViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor=[UIColor whiteColor];
    [self setMessage];
    [self setBI];
    self.title=@"关于我们";
    
}
- (void)setBI
{
    UIBarButtonItem *leftBI=[[UIBarButtonItem alloc] initWithBarButtonSystemItem:(UIBarButtonSystemItemCancel) target:self action:@selector(chickBack)];
    self.navigationItem.leftBarButtonItem=leftBI;
}
- (void)chickBack
{
    [self.sideMenuViewController presentLeftMenuViewController];


}
- (void)setMessage
{
    UILabel  *titleLable=[[UILabel alloc] initWithFrame:CGRectMake(10, 80, CGRectGetWidth(self.view.frame), 40)];
    titleLable.text=@"版权声明:";
    titleLable.font=[UIFont systemFontOfSize:20.0];
    UITextView *messageView=[[UITextView alloc] initWithFrame:CGRectMake(5, 130, CGRectGetWidth(self.view.frame)-10, CGRectGetHeight(self.view.frame)-130)];
messageView.text=@"\t本app中的所有内容,包括文字,图片,视频等资源均是在网上搜索得到的。\n\t访问者可以通过本app查看当前赛事,视频.但是只能用于欣赏,不能用于商业性和盈利性,不可侵犯本app的合法权利。\n\t感谢大家对我们的支持,如果有什么建议和意见,请联系我们。\n\t电子邮箱: 18501335978@163.com;18736049563@163.com;luojian794589880@163.com";
    [self.view addSubview:titleLable];
    [self.view addSubview:messageView];
    messageView.userInteractionEnabled=NO;
    messageView.font=[UIFont systemFontOfSize:18.0];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
